package com.bh.shipment.vo;

import com.bh.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 运单管理对象 jc_shipment
 *
 * @author slx
 * @date 2023-04-22
 */
@Data
public class JcShipmentSysVo {

    private Long id;
    private Integer status;
    private String statusStr;
    private String name;
    private String code;
    private Long carriageIsExceed;
    @Excel(name = "承运商类型")
    private Long carrierType;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际到达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date factArriveTime;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际发运时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date factLeaverTime;
    @Excel(name = "付款方式")
    private Integer feeType;
    @Excel(name = "是否有异常")
    private Integer isAbnormal;
    @Excel(name = "外部车牌号")
    private String license;
    @Excel(name = "件数")
    public Integer number;
    @Excel(name = "运作模式")
    private Integer operationPattern;  //运作模式  -- 自营车辆    ----干线外包   ----外包中转   ---
    @Excel(name = "订单号")
    private String orderCode;
    @Excel(name = "外部司机名称")
    private String outDriver;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "要求发运日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planLeaveTime;
    @Excel(name = "拒收标记")
    private Long refuse;
    @Excel(name = "发运单号")
    private String relateBill1;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "要求到车日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requireArriveTime;
    @Excel(name = "运输方式")
    private Integer shipmentMethod;
    @Excel(name = "发运单号")
    private String tan;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "运单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;
    @Excel(name = "货值")
    private BigDecimal value;
    @Excel(name = "体积")
    private BigDecimal volume;
    @Excel(name = "重量")
    private BigDecimal weight;
    @Excel(name = "承运商ID")
    private Long jcCarrierId;
    @Excel(name = "司机ID")
    private Long jcDriverId;
    @Excel(name = "组织机构ID")
    private Long jcOrganizationId;
    @Excel(name = "结算ID")
    private Long jcSettlementId;
    @Excel(name = "车型ID")
    private Long jcVehicleId;
    @Excel(name = "车头ID")
    private Long jcVehicleHeadId;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actionTime;
    @Excel(name = "起运站ID")
    private Long jcFromOrganizationId;
    private String jcFromOrganizationIds;
    @Excel(name = "当前站ID")
    private Long jcNowOrganizationId;
    @Excel(name = "下一站ID")
    private Long jcNextOrganizationId;
    @Excel(name = "目的站ID")
    private Long jcToOrganizationId;
    @Excel(name = "经由站组织机构IDS")
    private String orgIds;
    @Excel(name = "外部司机电话")
    private String outPhone;
    @Excel(name = "是否收入成本确认")
    private Integer isConfirm;
}
